package com.lagou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @ClassName: LagouUserApplication
 * @Auther: Jerry
 * @Date: 2020/10/23 16:10
 * @Desctiption: TODO
 * @Version: 1.0
 */
@SpringBootApplication
@EntityScan("com.lagou.pojo")
@EnableDiscoveryClient // 开启服务发现
@EnableFeignClients // 开启Feign
public class LagouUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(LagouUserApplication.class, args);
    }
}
